package com.huikeportal.service;

import java.util.List;
import java.util.Map;

import com.huikeportal.model.MessageCommon;
import com.huikeportal.model.SiteAllInfo;
import com.huikeportal.model.TreeHtml;
import com.huikeportal.model.UserInfo;
import com.huikeportal.model.UserManagerInfo;
import com.huikeportal.model.WordBook;
import com.huikeportal.model.common.PageDataVo;
import com.huikeportal.model.common.SqlParameter;

public interface UserService {

	List<TreeHtml> getUserRoleCombo(UserInfo userInfo) throws Exception;

	List<WordBook> getUserStatusCombo(String sysLang) throws Exception;

	PageDataVo getUserList(PageDataVo pageDataVo) throws Exception;

	List<WordBook> getDataPermission(SqlParameter sql) throws Exception;

	MessageCommon addUser(UserManagerInfo userManagerInfo) throws Exception;

	UserManagerInfo getUserById(UserManagerInfo userManagerInfo)
			throws Exception;

	MessageCommon editUser(UserManagerInfo userManagerInfo) throws Exception;

	MessageCommon updateUser(UserManagerInfo userManagerInfo) throws Exception;

	boolean selectUserExists(String userName) throws Exception;

	// 检查当前用户的最大创建数
	boolean checkMaxAccount(UserInfo userInfo) throws Exception;

	List<SiteAllInfo> getSiteByString(String string) throws Exception;

	Map<String, Object> selectUserDateType(String string) throws Exception;

}
